<table border="1">
	<thead>
	<tr>
		<th>Модель</th>
		<th>Всего штук</th>
		<th>Заправленных</th>		
	</tr>
	</thead>	
	<?php 
	foreach ($this->cartriges as $item):
	?>
	<tr>
    	<td><a href="<?php echo $this->url(array(
										'controller' => 'cartrige',
										'action' => 'modellist',
    									'modelname' => $item->name
				)); ?>"><?php echo $item->name; ?></a></td>
    	<td><?php echo $item->count; ?></td>
    	<td><?php echo $item->full; ?></td>    	
  	</tr>
  	<?php endforeach;?>  	
</table>
<p><a href="<?php echo $this->url(array(
	'controller' => 'cartrige',
	'action' => 'add'
)); ?>">Добавить картридж</a></p>

